package com.bdmc.report.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;

import org.springframework.format.annotation.DateTimeFormat;;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 人员,车辆检查点工作及里程统计对象 report_check_point
 *
 * @author bdmc
 * @date 2022-03-11
 */
@Data
@Accessors(chain = true)
@TableName("report_check_point")
public class ReportCheckPoint{

    private static final long serialVersionUID=1L;

    /**
     * 检查点报表主键
     */
    @TableId(value = "report_point_id")
    private Long reportPointId;
    /**
     * 排班详情id
     */
    private Long workPlanId;

    private Long workTeamId;
    /**
     * person或car
     */
    private String targetType;
    /**
     * 车辆id
     */
    private Long carId;

    /**
     * 人员id
     */
    private Long personId;

    /**
     * 工作日期
     */
    private LocalDate effectDate;
    /**
     * 检查点名称
     */
    private String checkName;
    /**
     * 检查点
     */
    private String checkPoint;

    /**
     * 进入时间
     */
    private String enterTime;
    /**
     * 里程
     */
    private BigDecimal mileage;

    private LocalDate createTime;
}
